﻿namespace DomainModel
{
    public class Timetable : EntityBase
    {
        public virtual int Week { get; set; }
        public virtual int Day { get; set; }
        public virtual int LessonNo { get; set; }
        public virtual Group Group { get; set; }
        public virtual Subgroup Subgroup { get; set; }
        public virtual Subject Subject { get; set; }
        public virtual SubjectType SubjectType { get; set; }
        public virtual User Teacher { get; set; }
        public virtual string Room { get; set; }
        
        protected Timetable()
        {
            
        }

        public Timetable(int week, int day, int lessonNo, Group group, Subject subject): this()
        {
            Week = week;
            Day = day;
            LessonNo = lessonNo;
            Group = group;
            Subject = subject;
        }
    }
}
